package edu.cque.account.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import edu.cque.account.entity.Account;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

/**
 * @author Hua
 * @create 2022-08-29 12:04
 */
public interface AccountMapper extends BaseMapper<Account> {
    //扣减账户金额
    void decrease( Long userId, BigDecimal money);

}
